#ifndef TCPSERVER_THREAD_H
#define TCPSERVER_THREAD_H

#include <QObject>
#include <QThread>
#include <QTcpSocket>
#include <QDebug>
#include "tcp/tcpserver.h"
#include <qtcpserver.h>
#include "my_custom/global.h"



class Tcpserver_Thread : public QThread
{
    Q_OBJECT
public:
    explicit Tcpserver_Thread(QTcpSocket *s);
    void run();
    
    ~Tcpserver_Thread();


private:

    QTcpSocket *client;

private slots:
    void clientinfo();
};

#endif // TCPSERVER_THREAD_H

